package hello.word.m2.maven.support;

import org.jdbi.v3.core.config.JdbiConfig;

import java.util.concurrent.ConcurrentHashMap;

public class AutoSqlObject implements JdbiConfig<AutoSqlObject> {

    private final ConcurrentHashMap<String,Object> objectMap = new ConcurrentHashMap<>();

    public void setObjectMap(String name,Object object){
        objectMap.put(name,object);
    }

    public Object getObject(String name){
        return objectMap.get(name);
    }

    @Override
    public AutoSqlObject createCopy() {
        return this;
    }


}
